# 多继承，是以按照顺序左边的先继承
## 顺序应该是： A B D C E
## 如果class A(C, B)，应该是: A C E B D

class E:
    # age = 'e'
    pass

class D:
    # age = 'd'
    pass

class C(E):
    age = 'c'
    pass

class B(D):
    age = 'b'
    pass


class A(B, C):
# class A(C, B):
    # age = 'a'
    pass

a = A()
print(a.age)


